package view;

import controller.Controller;

public class UI {
    private Controller controller;
    public static LoginJFrame loginJFrame;
    public static RegisterJFrame registerJFrame;
    public static GameJFrame gameJFrame;
    public static EnterGameJFrame enterGameJFrame;
    public static GameCountJFrame gameCountJFrame;

    public UI(Controller controller) {
        this.controller = controller;
        loginJFrame = new LoginJFrame(controller);
        registerJFrame = new RegisterJFrame(controller);
        gameJFrame = new GameJFrame(controller);
        enterGameJFrame = new EnterGameJFrame(controller);
        gameCountJFrame = new GameCountJFrame(controller);
//     gameControllrt = new gameControllrt(controller);
        //gameCountJFrame.setVisible(true);

       //registerJFrame.setVisible(true);
       // loginJFrame.setVisible(true);
        gameJFrame.setVisible(true);
    }
}



